package com.bdqn.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
@TableName("sys_user")
public class User implements Serializable {
  @Serial
  private static final long serialVersionUID = 1L;

  @TableId(type = IdType.AUTO)
  @TableField("usr_id")
  private long usrId;

  @TableField("usr_name")
  private String usrName;

  @TableField("usr_password")
  private String usrPassword;

  @TableField("usr_role_id")
  private long usrRoleId;

  @TableField("usr_flag")
  private Integer usrFlag;

  private Role role;

}
